// 常量表

// 设备默认配置
export var DEFAULT_DEVICE_CONFIG = [{
  func: {
    name: 'STANDARD_WASH',
    option: 0
  },
  configValue: {
    washingTime: {
      value: 10,
      min: 5,
      max: 20
    },
    rinseNumber: {
      value: 1,
      min: 1,
      max: 4
    },
    spinTime: {
      value: 5,
      min: 3,
      max: 9
    },
    waterLevel: {
      value: 7,
      min: 3,
      max: 8
    }
  }
}, {
  func: {
    name: 'QUICK_WASH',
    option: 1
  },
  configValue: {
    washingTime: {
      value: 4,
      min: 2,
      max: 10
    },
    rinseNumber: {
      value: 1,
      min: 1,
      max: 3
    },
    spinTime: {
      value: 3,
      min: 3,
      max: 5
    },
    waterLevel: {
      value: 6,
      min: 3,
      max: 8
    }
  }
}, {
  func: {
    name: 'POWERFUL_WASH',
    option: 2
  },
  configValue: {
    washingTime: {
      value: 12,
      min: 6,
      max: 20
    },
    rinseNumber: {
      value: 2,
      min: 1,
      max: 6
    },
    spinTime: {
      value: 9,
      min: 3,
      max: 9
    },
    waterLevel: {
      value: 8,
      min: 3,
      max: 8
    }
  }
}, {
  func: {
    name: 'SINGLE_DEHYDRATION',
    option: 3
  },
  configValue: {
    washingTime: {
      value: 0,
      min: 0,
      max: 0
    },
    rinseNumber: {
      value: 0,
      min: 0,
      max: 0
    },
    spinTime: {
      value: 4,
      min: 3,
      max: 9
    },
    waterLevel: {
      value: 0,
      min: 0,
      max: 0
    }
  }

}]
